Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Oct 9, 2025

The cloud agent logs are filled with:

4|controller  | 2025-10-08T20:50:35: [303:1009/034932.692959:INFO:CONSOLE:34] "%c  ERR color: #f33 [Extension Host] [getStateToPostToWebview] failed to get cloud organizations: Authentication methods are disabled in StaticTokenAuthService", source: vscode-file://vscode-app/data/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js (34)
4|controller  | 2025-10-08T20:50:35: [303:1009/034932.692999:INFO:CONSOLE:523] "%c[Extension Host] %c[getStateToPostToWebview] failed to get cloud organizations: Authentication methods are disabled in StaticTokenAuthService %c(at console.<anonymous> (file:///data/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:30974)) color: blue color:  color: grey", source: vscode-file://vscode-app/data/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js (523)
4|controller  | 2025-10-08T20:50:35: Task has not finished or aborted yet
4|controller  | 2025-10-08T20:50:35: [303:1009/034940.171445:INFO:CONSOLE:34] "%c  ERR color: #f33 [Extension Host] [getStateToPostToWebview] failed to get cloud organizations: Authentication methods are disabled in StaticTokenAuthService", source: vscode-file://vscode-app/data/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js (34)
4|controller  | 2025-10-08T20:50:35: [303:1009/034940.171480:INFO:CONSOLE:523] "%c[Extension Host] %c[getStateToPostToWebview] failed to get cloud organizations: Authentication methods are disabled in StaticTokenAuthService %c(at console.<anonymous> (file:///data/vscode/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:201:30974)) color: blue color:  color: grey", source: vscode-file://vscode-app/data/vscode/resources/app/out/vs/workbench/workbench.desktop.main.js (523)

Important

Prevents logging errors in ClineProvider.ts when cloud agent is active by checking CloudService.instance.isCloudAgent before retrieving cloud organizations.

  • Behavior:
    • Prevents logging of cloud organization retrieval errors when CloudService.instance.isCloudAgent is true in getStateToPostToWebview() in ClineProvider.ts.
    • Specifically addresses error: "failed to get cloud organizations: Authentication methods are disabled in StaticTokenAuthService".
  • Misc:
    • Adds a conditional check for CloudService.instance.isCloudAgent before calling getOrganizationMemberships() in ClineProvider.ts.

This description was created by Ellipsis for 2dfecc1. You can customize this summary. It will automatically update as commits are pushed.

@cte cte requested review from jr and mrubens as code owners October 9, 2025 03:57
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Oct 9, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Oct 9, 2025
Copy link
Contributor

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found some issues that need attention before merging.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 28, 2025
@daniel-lxs daniel-lxs moved this from Triage to PR [Needs Review] in Roo Code Roadmap Oct 28, 2025
@hannesrudolph hannesrudolph added PR - Needs Review and removed Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. labels Oct 28, 2025
@mrubens mrubens merged commit 520b2f6 into main Oct 28, 2025
26 checks passed
@mrubens mrubens deleted the cte/noisy-cloud-agent-exception branch October 28, 2025 23:35
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Oct 28, 2025
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer PR - Needs Review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants